home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 025a / arch_f41.zip / INSTALL4.BAT < prev    next >
DOS Batch File  |  1991-12-20  |  3KB  |  138 lines

  1. Echo off
  2. IF NOT EXIST INPUT.COM GOTO WRONGDR
  3. IF %1==F GOTO FLOPINS
  4. IF %1==H GOTO HARDINS1
  5. CLS
  6. GO4
  7. :FLOPINS
  8. ECHO OFF
  9. CLS
  10. IF %2==1 GOTO FLOPINS1
  11. IF %2==2 GOTO FLOPINS2
  12. CLS
  13. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  14. ECHO  following your 'GO F' instruction.
  15. GOTO END
  16. :FLOPINS2
  17. CLS   
  18. ECHO  Enter disk 2, SALES-B, into drive A now.
  19. ECHO  [it should still be in Drive A]
  20. PAUSE
  21. %3
  22. B:PKUNZIP -X B:ARCH-C41.ZIP PROGRAM.OVL
  23. B:PKUNZIP -X B:ARCH-C41.ZIP *.FRM
  24. CLS
  25. ECHO  Enter disk 3, PROGRAM.DOC, into drive A now.
  26. PAUSE 
  27. %3     
  28. B:PKUNZIP -X B:ARCH-D41.ZIP PROGRAM.DOC
  29. GOTO FLOPDOC
  30. :FLOPDOC
  31. CLS 
  32. ECHO  Finished !
  33. ECHO  Disk  3,  the documentation and tutorial,  is not used while  the 
  34. ECHO  program  is  running.   It  contains a 60 page tutorial
  35. ECHO  and  can  be printed  out will this command:          
  36. ECHO                           COPY PROGRAM.DOC LPT1:  
  37. echo  
  38. ECHO  To start the program,:
  39. ECHO  Enter SALES-A, disk one, into drive A.
  40. ECHO  Enter SALES-B, disk two, into drive B.
  41. echo  
  42. ECHO  Then restart the computer and execute GO      {executed from B}
  43. GOTO END
  44. :FLOPINS1
  45. ECHO  Beginning with version 3.0 of this program, the executable files have
  46. ECHO  become so large that the low density option of 360KB is no longer supported.
  47. GOTO END
  48. :HARDINS1
  49. CLS
  50. echo  
  51. %2:
  52. CD \
  53. CD ARCHITEC.ACS
  54. COPY %3ARCH-E41.EXE >TMP
  55. ARCH-E41
  56. DEL ARCH-E41.EXE
  57. COPY %3YESNO.COM >TMP
  58. COPY %3ECOH.COM >TMP
  59. CLS
  60. echo  
  61. ECOH ══════════    Tutorial for program    ══════════
  62. echo  
  63. ECHO  PROGRAM.DOC is the 6 chapter, 60 page tutorial.
  64. ECHO  Would you like to print it out now?
  65. echo  
  66. :YESNO
  67. YESNO
  68. CLS
  69. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  70. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YESPREF
  71. GOTO YESNO
  72. :YESNEXT
  73. CLS
  74. ECHO Please make sure your printer is now turned on and set
  75. ECHO to the 'top of form'. Then press any key to continue.
  76. echo  
  77. PAUSE
  78. CLS
  79. echo  
  80. echo  
  81. ECOH ══════════ Now printing 6 chapter tutorial ══════════
  82. COPY PROGRAM.DOC LPT1: >TMP
  83. CLS
  84. GOTO YES1
  85. :YESPREF
  86. CLS
  87. echo  
  88. ECOH ══════════    Preface to Tutorial  ══════════
  89. echo  
  90. ECHO  Since you elected not to print PROGRAM.DOC,
  91. ECHO  Would you like to print the 3 page Preface to the Tutorials instead?
  92. echo  
  93. :YES2
  94. YESNO
  95. CLS
  96. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
  97. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  98. GOTO YES2
  99. :YES3
  100. CLS
  101. echo  
  102. echo  
  103. ECOH ══════════   Printing Preface to Tutorial  ══════════
  104. echo  
  105. COPY PREFACE.TXT LPT1: >TMP
  106. GOTO YES1
  107. :YES1
  108. CLS
  109. echo  
  110. echo  
  111. echo  
  112. ECOH ══════════ Free memory available for program ══════════
  113. echo  
  114. ECHO The program must have 500 kb free memory. Observe the next 
  115. ECHO 'bytes are free.' message below.  If below 500k, then
  116. ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
  117. ECHO programs.  Otherwise enter any other key to continue.
  118. echo  
  119. echo  
  120. MEMORY
  121. echo  
  122. echo  
  123. PAUSE
  124. CLS
  125. GO
  126. GOTO END
  127. :WRONGDR
  128. CLS
  129. echo  
  130. echo  
  131. ECHO Though nothing could be simpler than this install procedure, it does   
  132. echo require that you enter the drive name, such as 'A:' or 'B:', followed
  133. echo by the 'Enter' key.  After that, please enter 'GO' again.
  134. echo  
  135. GOTO END
  136. :END
  137. echo  
  138.